package com.jinkaimen.kqb.ui.activity.h5toapp;

import android.graphics.drawable.Drawable;

import android.view.View;
import android.widget.TextView;

import com.ht.baselibs.ui.base.BaseActivity;
import com.ht.baselibs.utils.ActivityUtils;
import com.jinkaimen.kqb.R;

public class WitePassActivity extends BaseActivity {


    private TextView mStep1View;
    private TextView mStep2View;
    private TextView mStep3View;


    @Override
    protected boolean isStaticPage() {
        return true;
    }

    @Override
    protected void initTitleBar() {
        mTitleBarView.setTitleText("开始使用");
    }

    @Override
    protected int initContentView() {
        return R.layout.activity_wait_pass;
    }

    @Override
    protected void initChildView() {
        mStep1View = (TextView) findViewById(R.id.tv_header_identification_step1);
        mStep2View = (TextView) findViewById(R.id.tv_header_identification_step2);
        mStep3View = (TextView) findViewById(R.id.tv_header_identification_step3);
        Drawable drawable = getResources().getDrawable(R.mipmap.identification_step1_end);
        drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight());
        mStep1View.setCompoundDrawables(drawable, null, null, null);
        mStep2View.setCompoundDrawables(drawable, null, null, null);
        mStep3View.setEnabled(true);

    }

    @Override
    protected void initChildData() {

    }

    @Override
    protected void setChildViewListener() {
        findViewById(R.id.tv_btn_finsh).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        super.onClick(v);
        switch (v.getId()) {
            case R.id.tv_btn_finsh:
                ActivityUtils.finishActivity(this);
                break;
        }
    }

}
